One can import the same package or same class multiple times. Neither compiler nor JVM complains about it.But the JVM will internally load the class only once no matter how many times you import the same class
Liked By
Write Answer
Can I import same package/class twice? Will the JVM load the package twice at runtime?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
22-Apr-2015